package com.weixing.mall.provider.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.weixing.mall.provider.model.domain.MediaAdvertsing;
import com.weixing.mall.provider.model.query.LeaderAdsQuery;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

public interface LeaderShowMapper extends BaseMapper<MediaAdvertsing> {

    Map<String,Object> personalAdsReport(@Param("qs")LeaderAdsQuery leaderAdsQuery);

    Map<String,Object> teamAdsReport(@Param("qs")LeaderAdsQuery leaderAdsQuery);

    IPage<Map<String,Object>> personalAdsReportList(@Param("pg") Page page, @Param("qs")LeaderAdsQuery leaderAdsQuery);

    IPage<Map<String,Object>> teamAdsReportList(@Param("pg") Page page,@Param("qs")LeaderAdsQuery leaderAdsQuery);

    IPage<Map<String, Object>> getReportPresonlist(@Param("pg") Page initMpPage, @Param("qs")LeaderAdsQuery lsq);
}
